import { baseRequest } from '@/utils/request'
const request = (url, ...arg) => baseRequest(`/sys/workstation/${url}`, ...arg)
/**
 * 单页
 *
 * @author mh
 * @data
 */
export default {
    //工位信息
    workstationAdd(data) {
        return request('WorkstationAdd', data)
    },
    workstationlist(data) {
        return request('workstationPage', data, 'get')
    },
    workstationDelete(data) {
        return request('delete', data)
    },
    workstationedit(data) {
        return request('edit', data)
    },
} 